package com.hhit.bigscreenbackmanage.dao.tgygl;

import com.hhit.bigscreenbackmanage.entity.tgygl.TTgyglLicenseProcessingPlan;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TTgyglLicenseProcessingPlanMapper {
    int deleteByPrimaryKey(Integer id);

    /**
     * 根据年份或者月份删除数据
     * @param month
     * @param year
     * @return
     */
    void deleteByNfAndFf(int year, int month);

    int insert(TTgyglLicenseProcessingPlan record);

    int insertSelective(TTgyglLicenseProcessingPlan record);

    TTgyglLicenseProcessingPlan selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TTgyglLicenseProcessingPlan record);

    int updateByPrimaryKey(TTgyglLicenseProcessingPlan record);

    List<TTgyglLicenseProcessingPlan> selectByBean(TTgyglLicenseProcessingPlan tTgyglLicenseProcessing);
}